import { SupplierRequest } from '@/plugins/supplier-request';

// 供应商升降级 - 查询
export const queryPotentialOperationService = (data, loadingFn) => SupplierRequest({
  url: '/supplierPromotionDemotion/potential/operation',
  type: 'post',
  data,
  loadingFn
});

// 供应商升降级 - 导出
export const exportPotentialOperationService = (data, loadingFn) => SupplierRequest({
  url: '/supplier/export/export-potential-operation',
  type: 'get',
  data,
  loadingFn,
  isExport: true
});
